package kz.edu.sdu.atm.client;

import java.io.IOException;
import java.math.BigDecimal;

public interface IClient {
	public boolean auth(String username, String password);

	public BigDecimal balance(String username, String password)
			throws IOException;

	public BigDecimal withdraw(String username, String password,
			BigDecimal amount) throws IOException;

	public BigDecimal send(String username, String password, String to,
			BigDecimal amount) throws IOException;

	public BigDecimal deposit(String username, String password,
			BigDecimal amount) throws IOException;
}
